package com.sa07.bean;

/**
 * 用户实体类
 * 
 * @author Long.shangbo
 *
 * 2014-2-21 下午2:43:17
 */
public class User {

	private int userId;

	private String userName;

	private Role role;
	
	private String password;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}

	public User(int userId, String userName, Role role) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.role = role;
	}

	public User() {
		super();
	}

}
